<style>
	@import url('../css/game.css');
</style>
<template>
	<!-- 舒尔特表 -->
	<game-shulte  :project_make_id="project_make_id"   :project_id="project_id"   ref="childshulte"></game-shulte>
</template>
<script>
	export default {
		data() {
			return {
				project_make_id:'',//赛事
				project_id:'',//项目
			}
		},
		onLoad(option = '') {
			console.log(option)
			var that=this;
			//对战发起
			if(option){
				that.project_make_id=option.make;//赛事
				that.project_id=option.id;//项目
			}
		},
		// 在页面的 onUnload 生命周期中停止更新位置
		onUnload() {
			var that = this;
			//清除定时器
			clearInterval(that.$refs.childshulte.interval);
		},
	 }
</script>